package com.legal.aid.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 订单详情实体类
 */

public class OrderDetail {

    /**
     * 详情ID
     */
    private Integer id;

    public Integer getOrderId() {
        return orderId;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", serviceType='" + serviceType + '\'' +
                ", serviceDescription='" + serviceDescription + '\'' +
                ", serviceTime=" + serviceTime +
                ", lawyerId=" + lawyerId +
                ", legalReferences='" + legalReferences + '\'' +
                ", orderServerStatus='" + orderServerStatus + '\'' +
                ", resultSummary='" + resultSummary + '\'' +
                ", notes='" + notes + '\'' +
                '}';
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceDescription() {
        return serviceDescription;
    }

    public void setServiceDescription(String serviceDescription) {
        this.serviceDescription = serviceDescription;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }

    public Integer getLawyerId() {
        return lawyerId;
    }

    public void setLawyerId(Integer lawyerId) {
        this.lawyerId = lawyerId;
    }

    public String getLegalReferences() {
        return legalReferences;
    }

    public void setLegalReferences(String legalReferences) {
        this.legalReferences = legalReferences;
    }

    public String getOrderServerStatus() {
        return orderServerStatus;
    }

    public void setOrderServerStatus(String orderServerStatus) {
        this.orderServerStatus = orderServerStatus;
    }

    public String getResultSummary() {
        return resultSummary;
    }

    public void setResultSummary(String resultSummary) {
        this.resultSummary = resultSummary;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    /**
     * 关联的订单ID
     */
    private Integer orderId;

    /**
     * 服务类型
     */
    private String serviceType;

    /**
     * 服务详细描述
     */
    private String serviceDescription;

    /**
     * 服务时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date serviceTime;

    /**
     * 负责律师ID
     */
    private Integer lawyerId;

    /**
     * 相关法律条款
     */
    private String legalReferences;

    /**
     * 服务状态
     */
    private String orderServerStatus;

    /**
     * 服务结果摘要
     */
    private String resultSummary;

    /**
     * 备注信息
     */
    private String notes;
}
